import request from '../../request/request.js'

// 商家列表
export function getBusinessList(data) {
	return request({
		url: 'api/Serviceproviders/businessList',
		method: "GET",
		data
	})
}
// 删除商家
export function delSviceShop(data) {
	return request({
		url: 'api/user/delSviceShop',
		method: "POST",
		data
	})
}
// 订单列表日报
export function getBusinessOrderList(data) {
	return request({
		url: 'api/Serviceproviders/getOrderListByDay',
		method: "GET",
		data
	})
}
// 订单列表月报
export function getBusinessOrderListMonth(data) {
	return request({
		url: 'api/Serviceproviders/getOrderListByMonth',
		method: "GET",
		data
	})
}
// 新增商家
export function addSviceShop(data) {
	return request({
		url: 'api/user/addSviceShop',
		method: "POST",
		data
	})
}